#ifndef KERNEL_ASSERT_H
#define KERNEL_ASSERT_H

void AssertionFailure(char *exp, char *file, char *base, int line);

#define ASSERT(exp) \
    if (exp)        \
        ;           \
    else            \
        AssertionFailure(#exp, __FILE__, __BASE_FILE__, __LINE__)

void Panic(const char *fmt, ...);

#endif